let CertData = (function () {

  let type = DataUtils.get("dataType");
  let dataInfo = DataInfo.getDataInfo(type);
  let [myData,errorList] = MyData.getMyData(dataInfo);

  if (errorList.length > 0) {
    myData = [];
    console.error(errorList);    
  }

  let certDataHandler = new CertDataHandler(type, dataInfo, myData);
  certDataHandler.dataInfo = dataInfo;
  certDataHandler.type = type;
  return certDataHandler;
})();
